<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="Author" content="">
    <meta content="" name="design">
	<title>${webConfig.name}</title>
	<meta name="keywords" content="${webConfig.keyword}">
	<meta name="description" content="${webConfig.description}"/>
	<link rel="stylesheet" type="text/css" href="${s.base}/pc/css/bootstrap.css"/>
	<link rel="stylesheet" href="${s.base}/pc/css/css.css"/>
	<link rel="stylesheet" type="text/css" href="${s.base}/pc/css/style.css"/>
	<script type="text/javascript" src="${s.base}/pc/js/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="${s.base}/pc/js/bootstrap.min.js"></script>
	<link rel="stylesheet" type="text/css" href="${s.base}/pc/js/jquery.sPage.css"/>
	<script type="text/javascript" src="${s.base}/pc/js/jquery.sPage.js"></script>
	<script type="text/javascript" src="${s.base}/js/webApi.js"></script>
</head>
<body>
<div class="newtop">
	<div class="indh inter after">
		<div class="inlogo">
			<img src="${webConfig.coverImage}" />
		</div>
		<ul class="inul after">
			<#list webNavigationList as webNavigation>
				<li>
					<#if webNavigation.childNavMenuList?? && webNavigation.childNavMenuList!size gt 0>
						<a href="javascript:void(0)">${webNavigation.name}</a>
						<dl class="newdl">
							<#list  webNavigation.childNavMenuList as webMenuNavigation>
								<#if webMenuNavigation.url?index_of("?")!=-1>
									<dd><a href="${webMenuNavigation.url}&navId=${webMenuNavigation.id}">${webMenuNavigation.name}</a> </dd>
									<#else>
										<dd><a href="${webMenuNavigation.url}?navId=${webMenuNavigation.id}">${webMenuNavigation.name}</a> </dd>
								</#if>
							</#list>
						</dl>
						<#else>
							<#if webNavigation.url?index_of("?")!=-1>
								<a href="${webNavigation.url}&navId=${webNavigation.id}">${webNavigation.name}</a>
								<#else>
									<a href="${webNavigation.url}?navId=${webNavigation.id}">${webNavigation.name}</a>
							</#if>
					</#if>
				</li>
			</#list>
		</ul>
	</div>
</div>
<div>
	<img src="${s.base}/pc/images/in12.jpg" />
</div>
<div class="newlj inter"><img src="${s.base}/pc/images/new.png" /> 您当前位置：
	<#list currentNavList as currentNav>
		<span>${currentNav.name}></span>
	</#list>
	<#if webColumnType??>
		<span>${webColumnType.name}</span>
	</#if>

</div>

<div class="newlist inter after">
	<div class="new_le">
		<ul id="contentShow">
		</ul>
		<div id="myPage"></div>
	</div>
	<div class="new_ri">
		<p class="new_p4">最新资讯</p>
		<div class="new_ri1" id="zxOneShow">

		</div>
		<ul class="new_ri_ul"  id="zxTwoShow">

		</ul>
	</div>
</div>

<footer>
	<div class="infoot">
		<div class="inter after">
			<ul class="col-xs-2">
				<p>关于我们</p>
				<#list webLinkerList as webLinker>
					<#if webLinker.colFlag=='gywm'>
						<li><a href="${webLinker.url}">${webLinker.name}</a></li>
					</#if>
				</#list>
			</ul>
			<ul class="col-xs-3">
				<p>产品资料</p>
				<#list webLinkerList as webLinker>
					<#if webLinker.colFlag=='cpzl'>
						<li><a href="${webLinker.url}">${webLinker.name}</a></li>
					</#if>
				</#list>
			</ul>
			<ul class="col-xs-4">
				<p>联系方式</p>
				<li>咨询电话: ${webConfig.telephone}</li>
				<li>公司地址：${webConfig.address}</li>

			</ul>
			<ul class="col-xs-3">
				<p>微信公众号</p>
				<li class="after">
					<div class="infoot_img">
						<img src="${webConfig.wechat}" style="width: 100px;width: 100px;"/><span>扫一扫关注我</span>
					</div>
				</li>
			</ul>

		</div>
	</div>
	<div class="infoot1">${webConfig.copyright}</div>
</footer>



<div class="inxf">
	<div class="inxf1">
		<div class="intel after">
			<div class="inxf_le">
				<img src="${s.base}/pc/images/in8.png" />
			</div>
			<div class="inxf_ri">
				咨询热线
				<p>${webConfig.telephone}</p>
			</div>
		</div>
		<div class="inzj after">
			<div class="inxf_le">
				<img src="${s.base}/pc/images/in9.png" />
			</div>
			<div class="inxf_ri">
				专家答疑
				<p>${webConfig.servicePhone}</p>
			</div>
		</div>
		<p class="inxf_p1"><a href="${s.base}/pc/#">在线咨询</a> </p>
	</div>
</div>



<script type="text/javascript">
    var navId='${navId}';
    var colFlag='${colFlag}';
    var pageNum=0;
    var pageSize=5;
    $(document).ready(function(e) {
        acceptNews();
        //人龙资讯
        acceptXygArticleListByColFlagTagFlag(1,"","zxzx",-1,function(data){
            $("#rlzxShow").html("");
            if (data != null && data.length > 0) {
                var i=0
                data.forEach(function (item,key,mapObj) {
                    if(i==0){
                        $("#zxOneShow").html('<a href="/web/pc/descTitle?articleId='+item.id+'&navId='+navId+'">'+
                            '<img src="'+item.thumImage+'" />'+
                            '<div class="new_ri_text after">'+
                            '<div class="new_ri_text1">'+
                            '<p>'+$.fn.timeToString(item.createTime,"MM")+'</p>/'+$.fn.timeToString(item.createTime,"dd")+
                            '</div>'+
                            '<div class="new_ri_text2"><p class="font-grade-one">'+item.title+'</p>'+
							'<p class="font-grade-one">'+item.description+'</p></div></div></a>');
					}else{
                        $("#zxTwoShow").append('<li class="font-grade-one"><a href="/web/pc/descTitle?articleId='+item.id+'&navId='+navId+'">'+item.title+'</a></li>');
					}
                    i++;
                });
            }
        });
    });
    //获取信息
    function acceptNews() {
        $("#contentShow").html("");
        acceptXygArticlePageByColFlag(1,pageNum,pageSize,colFlag,function (result) {
            if (result.data != null && result.data.length > 0) {
                result.data.forEach(function (item,key,mapObj) {
                    var str='<li class="after">'+
                        '<a href="/web/pc/descTitle?articleId='+item.id+'&navId='+navId+'">'+
                        '<div class="new_img">'+
                        '<img src="'+item.thumImage+'" />'+
                        '</div>'+
                        '<div class="new_text">'+
                        '<p class="new_p1 font-grade-one">'+item.title+'</p>'+
                        '<p class="new_p2 font-grade-two">'+item.description+'</p>'+
                        '<p class="new_p3">'+$.fn.timeStamp2String(item.createTime)+'</p>'+
                        '</div></a></li>';
                    $("#contentShow").append(str);
                });
            }
            $("#myPage").sPage({
                page:pageNum,//当前页码，必填
                total:result.count,//数据总条数，必填
                pageSize:pageSize,//每页显示多少条数据，默认10条
                showTotal:true,//是否显示总条数，默认关闭：false
                totalTxt:"共{total}条",//数据总条数文字描述，{total}为占位符，默认"共{total}条"
                noData: false,//没有数据时是否显示分页，默认false不显示，true显示第一页
                showSkip:true,//是否显示跳页，默认关闭：false
                showPN:true,//是否显示上下翻页，默认开启：true
                prevPage:"上一页",//上翻页文字描述，默认“上一页”
                nextPage:"下一页",//下翻页文字描述，默认“下一页”
                backFun:function(page){
                    //点击分页按钮回调函数，返回当前页码
                    pageNum=page;
                    acceptNews();
                }
            });
        })
    }
</script>
</body>
</html>

